package com.muyu.emaildemo.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.Date;

/**
 * @ClassName: Mail
 * @Author: Zirun.Xin
 * @Date: 2025/3/26 下午5:03
 * @Version: 1.0
 * @Description: 基本邮件数据传输对象
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class MailDTO {

    /**
     * 发件人邮箱账号
     */
    private String sendMailAccount;

    /**
     * 收件人邮箱账号
     */
    private String acceptMailAccount;

    /**
     * 邮件主题
     */
    private String theme;

    /**
     * 邮件主题
     */
    private String mailText;

    /**
     * 发送时间
     */
    private Date sendTime = new Date();
}
